﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FreeOnlineApplication.Class.Entity
{
    public class Booking
    {
        public int ID = 0;
        public string CODE = "";
        public DateTime DATE = DateTime.Now;
        public Customer CUSTOMER = null;
        public RoomMaster ROOM_MASTER = null;
        public double DISCOUNT = 0;
        public DateTime START_DATE_TIME = DateTime.Today;
        public DateTime END_DATE_TIME = DateTime.Today.AddDays(1);
        public string STATUS = "OPEN";
        public string NOTE = "";
        public Unit UNIT;
        public User USER;

        public Booking()
        {
        }
        public Booking(int id)
        {
            ID = id;
        }
        public Booking(int id, string code)
        {
            ID = id;
            CODE = code;
        }
    }
}
